package org.tooyoung.fourone.live.clients;




import org.tooyoung.fourone.live.models.FanData;
import org.tooyoung.fourone.live.models.PresnetData;
import org.tooyoung.fourone.live.models.RoomData;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

public interface networkTool {
    @GET("live_RoomList.ss")
    Observable<RoomData> getRoomData(
            @Query("type") int type,
            @Query("pt") int pt,
            @Query("c") long c,
            @Query("p") int p
    );
    @GET("live_Users.ss")
    Observable<FanData> getFanData(
            @Query("pt") int pt,
            @Query("c") long c,
            @Query("r") long r,
            @Query("p") long p
    );
    @GET("user_UserCardInfo.ss?pt=1&c=100000009&u=%2BX3JiFDUUIlVPpfc4I3q5W2KNMTZvSIu&tu=1654225")
    Observable<PresnetData> getPresentData(@Query("tu") long tu,@Query("r") long r);
}
